<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<%  
String path = request.getContextPath();  
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";  
%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<base href="<%=basePath%>">

<title></title>

<meta http-equiv="pragma" content="no-cache">
<meta http-equiv="cache-control" content="no-cache">
<meta http-equiv="expires" content="0">
<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
<meta http-equiv="description" content="This is my page">
</head>
<body>
	<form action="changestate.action" method="post">
		<table width="500" align="center">
			<caption>资产归还</caption>

			<tr height="26px">
				<td width="150px" align="right">归还人ID</td>
				<td width="350px"><input type="hidden" name="assetborretid"
					value="${assetborrowreturn.assetborretid}" /> <input
					type="hidden" name="assetid"
					value="${assetborrowreturn.asset.assetid}" /> <select
					name="returnerid">
						<option value=""></option>
						<c:forEach var="user" items="${users}">
							<option value=${user.userid }
								<c:if  test="${user.userid == assetborrowreturn.returnerid.userid}" > selected= "selected" </c:if>>${user.username
								}</option>


						</c:forEach>
				</select></td>
			</tr>
			<tr height="26px">
				<td width="150" align="right">归还时间</td>
				<td><input type="datetime" name="returntime"
					value="2016-05-26 10:23:30" />
				</td>
			</tr>
			<tr hidden>
				<td><input type="text" name="state" value="5" />
				</td>
			</tr>



			<tr height="26px">
				<td colspan="2" align="center"><input type="submit" value="保存" />
					<input type="button" value="返回" onclick="window.history.back(-1)" />
				</td>
			</tr>
		</table>
	</form>
</body>
</html>
